package com.extsci.webmail;

import cc.ccoke.validate.annotation.EnableValidate;
import com.yanchang.auth.client.EnableYcylAuthClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author ccoke
 */
@EnableEurekaClient
@EnableDiscoveryClient
@EnableYcylAuthClient
@EnableFeignClients({"com.yanchang.auth.client.feign", "com.extsci.webmail.web.client"})
@EnableScheduling
@EnableValidate
@SpringBootApplication
public class WebmailApplication {

	public static void main(String[] args) {
		SpringApplication.run(WebmailApplication.class, args);
	}

}
